
export default class LanguageConfig {
    /**游戏语种 */
    public static gameLanguage = "zh-cn";
    /**配置数据 */
    public static configData = null;
    /**获取语言*/
    public static getText(key: string) {
        let str = this.configData[key];
        if (!str) console.error("can not find key:" + key + " in language:" + this.gameLanguage);
        return str
    }
    /**语言类型 */
    public static LANGUAGE_TYPE = {
        /**中文 */
        Chinese: "zh-cn",
        /**英文 */
        Engish: "en",
        /**泰语 */
        Thai: "th",
    }
    /**对应的文件夹 */
    public static languagePath = {
        "zh-cn": "zh-cn",
        "en": "en",
        "th": "th"
    };
    /**提示类型 */
    public static LANGUAGE_KEY = {
        /**金币不足 */
        NOT_ENOUTH: "notEnouth",
        /**掉线 */
        LOG_OUT: "logOut",
        /**掉线 */
        ENTER_GAME: "enterGame",
        /**加速开 */
        TURBO_ON: "turbo_on",
        /**加速管 */
        TURBO_OFF: "turbo_off",
        /**最小押注 */
        MINI_BET:"minimum_bet",
        /**最大压住 */
        MAXI_BET:"maximun_bet",
        /**提示开启极速 */
        OPEN_TURBO:"open_turbo",
        /**退出 */
        QUIT:"quit",
        /**普通旋转标题 */
        SPIN_NORMAL_TITLE:"history_title_normal",
        /**免费旋转标题 */
        SPIN_FREE_TITLE:"history_title_free",
        /**重新旋转标题 */
        SPIN_RESPIN_TITLE:"history_title_respin",
         /**轮数 */
         HISTORY_ROUND: "history_detail_round",
         /**押注size */
         BET_SIZE: "bet_options_size",
         /**押注LEVEL */
         BET_LEVEL: "bet_options_level",
         /**赢倍数 */
         WIN_MULT: "history_win_mult",
         /**赢免费次数 */
         WIN_FREE_TIME: "history_fs",
         /**赢线 */
         WIN_WAYS: "history_ways",
         /**赢个数 */
         WIN_NUM: "history_kind",
    }
}
